package com.ding.service;

import com.ding.pojo.Books;

import java.util.List;

/**
 * BookService
 *
 * @author DYS
 * @date 2021/7/5
 * @time 10:57
 * @Description
 */
public interface BookService {
	//增加一本书
	int insertOneBook(Books book);

	//删除一本书
	int deleteOneBook(int bookID);

	//更新一本书
	int updateOneBook(Books book);

	//查询一本书
	Books selectOneBook(int bookID);

	//查询全部的书
	List<Books> selectAllBooks();

	//模糊查询
	List<Books> selectLimitBook(String bookName);
}
